<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>..:Controle de Frota Javaweb:..</title>

<link href="STYLE/style.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="STYLE/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="STYLE/efeitos.js"></script>
<script type="text/javascript" src="FUNCOES/funcoes.js"></script>

</head>

<body>
<div id="contact">
    <form name="formulario">
        
	<h1>Controle de Frota JavaWeb</h1>
                <fieldset>
			<label for="name">Login:</label>
			<input type="text" id="login" name="login" placeholder="Digite o nome de usuário" />
			
			<label for="senha">Senha:</label>
			<input type="password" id="senha" name="senha" placeholder="Digite a senha" />
                        
                        
                        <input type="button" id="logar" onclick="ValidaUsuario('/AV1/ValidaLogin?usuario=', document.formulario.login.value, document.formulario.senha.value);" value="Logar" />
                        <div id="circlebar" style="visibility: visible; position:fixed " ><img src="IMAGES/ajax-loader.gif"></div>
                        <div id="alert" style= "visibility: hidden;">
                            <img src="IMAGES/error.png" size="15px" align="left" no-repeat>
                            <p>Login/senha inválidos!</p>
                        </div>


		</fieldset>
    </form>        
</div>
</body>

</html>